home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xi / XSetDeviceMode.z / XSetDeviceMode
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeMMMMooooddddeeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXSSSSeeeettttDDDDeeeevvvviiiicccceeeeMMMMooooddddeeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetDeviceMode - change the mode of a device
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XSetDeviceMode(_d_i_s_p_l_a_y, _d_e_v_i_c_e, _m_o_d_e)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 XDevice *_d_e_v_i_c_e;
  15.                 int __m_o_d_e;
  16.  
  17.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  18.           _d_i_s_p_l_a_y     Specifies the connection to the X server.
  19.  
  20.           _d_e_v_i_c_e      Specifies the device whose mode is to be
  21.                       changed.
  22.  
  23.           _m_o_d_e        Specifies the mode.  You can pass _A_b_s_o_l_u_t_e , or
  24.                       _R_e_l_a_t_i_v_e.
  25.  
  26.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  27.           The _X_S_e_t_D_e_v_i_c_e_M_o_d_e request changes the mode of an input
  28.           device that is capable of reporting either absolute
  29.           positional information or relative motion information. Not
  30.           all input devices are capable of reporting motion data, and
  31.           not all are capable of changing modes from _A_b_s_o_l_u_t_e to
  32.           _R_e_l_a_t_i_v_e.
  33.  
  34.           _X_S_e_t_D_e_v_i_c_e_M_o_d_e can generate a _B_a_d_D_e_v_i_c_e or _B_a_d_M_o_d_e error.
  35.  
  36.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  37.           _B_a_d_D_e_v_i_c_e   An invalid device was specified.  The specified
  38.                       device does not exist or has not been opened by
  39.                       this client via _X_O_p_e_n_I_n_p_u_t_D_e_v_i_c_e.  This error
  40.                       may also occur if some other client has caused
  41.                       the specified device to become the X keyboard or
  42.                       X pointer device via the _X_C_h_a_n_g_e_K_e_y_b_o_a_r_d_D_e_v_i_c_e
  43.                       or _X_C_h_a_n_g_e_P_o_i_n_t_e_r_D_e_v_i_c_e requests.
  44.  
  45.           _B_a_d_M_a_t_c_h    This error may occur if an _X_S_e_t_D_e_v_i_c_e_M_o_d_e
  46.                       request is made specifying a device that has no
  47.                       valuators and reports no axes of motion.
  48.  
  49.           _B_a_d_M_o_d_e     An invalid mode was specified.  This error will
  50.                       also be returned if the specified device is not
  51.                       capable of supporting the _X_S_e_t_D_e_v_i_c_e_M_o_d_e
  52.                       request.
  53.  
  54.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.           _P_r_o_g_r_a_m_m_i_n_g _w_i_t_h _X_l_i_b
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.